Xbasic

BROWSE.WINDOW_POSITION Function

Syntax

V browse.window_position([C position_x [,C position_y ]])

Arguments

position_x

Optional. Default = "center".The horizontal position of the window. Possible values are:

"left"
"right"
"center"
"fill"
"pixel_coordinate"
position_y

Optional. Default = "center".The vertical position of the window. Possible values are:

"top"
"bottom"
"center"
"fill"
"pixel_coordinate"

Description

The .WINDOW_POSITION() method positions a browse on the screen.

The "fill" option allows you to fill the entire Alpha Anywhere client area, without having to maximize the window. By avoiding having to maximize the window, other windows can be opened in a smaller window on top of the window that fills the screen.

Example

dim ptr as P
ptr = browse.load("CustomerBrowse")
ptr.window_position("300", "150")
ptr.show()

Limitations

Desktop applications only.

See Also